約 5,563,931 件
https://w.atwiki.jp/mekagazira/pages/24.html
PHP PHP インストール トラブル トラブル リンク先やボタンのURLのホスト部分がおかしい! 参考URL インストール 最新のphpのソースを取得する http //www.php.net/downloads.php $ pwd /export/meka/20100903php/php-5.2.14 $wget http //jp2.php.net/get/php-5.2.14.tar.gz/from/jp.php.net/mirror インストール $gunzip php-5.2.14.tar.gz $tar xvf php-5.2.14.tar $LD_LIBRARY_PATH= /usr/local/lib $PATH=/usr/local/bin /usr/bin /usr/sfw/bin /usr/ccs/bin $export LD_LIBRARY_PATH $export PATH $cd php-5.2.14 $./configure --enable-mbstring --with-apxs2=/usr/local/apache2/bin/apxs #LD_LIBRARY_PATH= /usr/local/lib #PATH=/usr/local/bin /usr/bin /usr/sfw/bin /usr/ccs/bin #export LD_LIBRARY_PATH #export PATH #make install # cp -pi php.ini-dist /usr/local/lib/php/php.ini apacheの設定 /usr/local/apache2/conf/httpd.confへ以下の記述を追加する。 310 #2010/09/03追加 311 AddType application/x-httpd-php .php $apachectl configtest Syntax OK /usr/local/apache2/htdocsへ test.phpを作成しテスト $vi test.php ? phpinfo()? ブラウザからアクセスして確認する。 http //192.168.11.4/test.php トラブル 初めrootになったあと、そのままmake installを実行したら以下のエラーが発生した。 Undefined first referenced symbol in file libiconv_close ext/iconv/.libs/iconv.o libiconv_open ext/iconv/.libs/iconv.o libiconv ext/iconv/.libs/iconv.o ld fatal Symbol referencing errors. No output written to sapi/cli/php collect2 ld returned 1 exit status make *** [sapi/cli/php] Error 1 LD_LIBRARY_PATHとPATHの設定をして再度make installしたら成功した。 chmod 755 /usr/local/apache2/modules/libphp5.so [activating module `php5 in /usr/local/apache2/conf/httpd.conf] Installing PHP CLI binary /usr/local/bin/ Installing PHP CLI man page /usr/local/man/man1/ Installing build environment /usr/local/lib/php/build/ Installing header files /usr/local/include/php/ Installing helper programs /usr/local/bin/ program phpize program php-config Installing man pages /usr/local/man/man1/ page phpize.1 page php-config.1 Installing PEAR environment /usr/local/lib/php/ [PEAR] Archive_Tar - installed 1.3.7 [PEAR] Console_Getopt - installed 1.2.3 [PEAR] Structures_Graph- installed 1.0.3 [PEAR] XML_Util - installed 1.2.1 [PEAR] PEAR - installed 1.9.1 Wrote PEAR system config file at /usr/local/etc/pear.conf You may want to add /usr/local/lib/php to your php.ini include_path Installing PDO headers /usr/local/include/php/ext/pdo/ 以下の通りgccでインストールしたから成功したのかな?? # which gcc /usr/local/bin/gcc トラブル リンク先やボタンのURLのホスト部分がおかしい! httpd.confのServerNameを変更すると。。。なおりました。 99 #ServerName www.mekagazi.com 80 100 ServerName 192.168.11.4 80 http //www.mekagazi.com/pukiwiki/index.php?FrontPage http //192.168.11.4/pukiwiki/index.php?FrontPage 参考URL http //www.harunire.com/t-yoda/index.php?Solaris/PukiWiki
https://w.atwiki.jp/mainichimatome-en/
What is the WaiWai issue? Astonishingly hideous newspaper articles published by one of Japanese "quality" papers on their English-language news site has infuriated many people. Some concerned people began online campaign to raise awareness of the issue, resulting in a large-scale protest movement. Mainichi Newspapers, one of Japan s four major "quality" newspapers, who has the 3rd largest readership, had published incredibly vulgar and indecent articles, many of which described Japanese women and girls as sexually promiscuous on the "WaiWai" corner of their English news site, Mainich Daily News. There were articles which gave tips for safe ways to buy under-age Japanese girls. There were also a report which described a traditional religious festival as having strangly strong sexual connotation. The problem is that these articles had been online for several years. The problematic articles have been already deleted -- Mainich Newspapers has apparently chosen to delete all the evidence. They re now claiming that a very small number of extreme people are making a fuss about a few not-so-appropriate articles. That is why the volunteers began to archive such articles so that we will be able to show Mainichi that their cover-up attempt is only in vain. Since 06/27/08
https://w.atwiki.jp/android-reference/pages/18.html
A B コメント A AbortableHttpRequest 基礎的なHTTP接続を停止することで強制終了させることが出来るHTTP要求を表すインターフェース. Interface representing an HTTP request that can be aborted by shutting down the underlying HTTP connection. AbsListView Base class that can be used to implement virtualized lists of items. AbsListView.LayoutParams AbsListView extends LayoutParams to provide a place to hold the view type. AbsListView.OnScrollListener Interface definition for a callback to be invoked when the list or grid has been scrolled. AbsListView.RecyclerListener A RecyclerListener is used to receive a notification whenever a View is placed inside the RecycleBin s scrap heap. AbsoluteLayout This class is deprecated. Use FrameLayout, RelativeLayout or a custom layout instead. AbsoluteLayout.LayoutParams Per-child layout information associated with AbsoluteLayout. AbsoluteSizeSpan AbsSavedState A Parcelable implementation that should be used by inheritance hierarchies to ensure the state of all classes along the chain is saved. AbsSeekBar AbsSpinner An abstract base class for spinner widgets. AbstractAuthenticationHandler AbstractClientConnAdapter Abstract adapter from operated to managed client connections. AbstractCollection E Class AbstractCollection is an abstract implementation of the Collection interface. AbstractConnPool An abstract connection pool. AbstractCookieAttributeHandler AbstractCookieSpec Abstract cookie specification which can delegate the job of parsing, validation or matching cookie attributes to a number of arbitrary CookieAttributeHandlers. AbstractCursor This is an abstract cursor class that handles a lot of the common code that all cursors need to deal with and is provided for convenience reasons. AbstractCursor.SelfContentObserver Cursors use this class to track changes others make to their URI. AbstractExecutorService Provides default implementation of ExecutorService execution methods. AbstractHttpClient Convenience base class for HTTP client implementations. AbstractHttpClientConnection Abstract client-side HTTP connection capable of transmitting and receiving data using arbitrary SessionInputBuffer and SessionOutputBuffer AbstractHttpEntity Abstract base class for entities. AbstractHttpMessage Basic implementation of an HTTP message that can be modified. AbstractHttpParams Abstract base class for parameter collections. AbstractHttpServerConnection Abstract server-side HTTP connection capable of transmitting and receiving data using arbitrary SessionInputBuffer and SessionOutputBuffer AbstractInputMethodService AbstractInputMethodService provides a abstract base class for input methods. AbstractInputMethodService.AbstractInputMethodImpl Base class for derived classes to implement their InputMethod interface. AbstractInputMethodService.AbstractInputMethodSessionImpl Base class for derived classes to implement their InputMethodSession interface. AbstractInterruptibleChannelAbstractInterruptibleChannel is the root class for interruptible channels. AbstractList E AbstractList is an abstract implementation of the List interface, optimized for a backing store which supports random access. AbstractMap K, V This class is an abstract implementation of the Map interface. AbstractMessageParser Message parser base class. AbstractMessageWriter AbstractMethodError Thrown by the virtual machine when an abstract method is called. AbstractPooledConnAdapter Abstract adapter from pool entries to managed client connections. AbstractPoolEntry A pool entry for use by connection manager implementations. AbstractPreferences This abstract class is a partial implementation of the abstract class Preferences, which can be used to simplify Preferences provider s implementation. AbstractQueue E AbstractQueue is an abstract class which implements some of the methods in Queue. AbstractQueuedSynchronizer Provides a framework for implementing blocking locks and related synchronizers (semaphores, events, etc) that rely on first-in-first-out (FIFO) wait queues. AbstractQueuedSynchronizer.ConditionObject Condition implementation for a AbstractQueuedSynchronizer serving as the basis of a Lock implementation. AbstractSelectableChannel AbstractSelectableChannel is the base implementation class for selectable channels. AbstractSelectionKey AbstractSelectionKey is the base implementation class for selection keys. AbstractSelector AbstractSelector is the base implementation class for selectors. AbstractSequentialList E AbstractSequentialList is an abstract implementation of the List interface. AbstractSessionInputBuffer Abstract base class for session input buffers that stream data from a InputStream. AbstractSessionOutputBuffer Abstract base class for session output buffers that stream data to an OutputStream. AbstractSet E An AbstractSet is an abstract implementation of the Set interface. AbstractVerifier Abstract base class for all standard X509HostnameVerifier implementations. AbstractWindowedCursor A base class for Cursors that store their data in CursorWindows. AccelerateDecelerateInterpolator An interpolator where the rate of change starts and ends slowly but accelerates through the middle. AccelerateInterpolator An interpolator where the rate of change starts out slowly and and then accelerates. AccessControlContext AccessControlContext encapsulates the ProtectionDomains on which access control decisions are based. AccessControlException AccessControlException is thrown if the access control infrastructure denies protected access due to missing permissions. AccessController AccessController provides static methods to perform access control checks and privileged operations. AccessibilityEvent This class represents accessibility events that are sent by the system when something notable happens in the user interface. AccessibilityEventSource This interface is implemented by classes source of AccessibilityEvents. AccessibilityManager System level service that serves as an event dispatch for AccessibilityEvents. AccessibilityService An accessibility service runs in the background and receives callbacks by the system when AccessibilityEvents are fired. AccessibilityServiceInfo This class describes an AccessibilityService. AccessibleObject AccessibleObject is the superclass of all member reflection classes (Field, Constructor, Method). Acl The Access Control List (ACL) interface definition. AclEntry The Access Control List Entry interface definition. AclNotFoundException The exception, that is thrown when a reference to a non-existent Access Control List (ACL) is made. Activity An activity is a single, focused thing that the user can do. ActivityGroup A screen that contains and runs multiple embedded activities. ActivityInfo Information you can retrieve about a particular application activity or receiver. ActivityInstrumentationTestCase T extends Activity This class is deprecated. new tests should be written using ActivityInstrumentationTestCase2, which provides more options for configuring the Activity under test ActivityInstrumentationTestCase2 T extends Activity This class provides functional testing of a single activity. ActivityManager Interact with the overall activities running in the system. ActivityManager.MemoryInfo Information you can retrieve about the available memory through getMemoryInfo(ActivityManager.MemoryInfo). ActivityManager.ProcessErrorStateInfo Information you can retrieve about any processes that are in an error condition. ActivityManager.RecentTaskInfo Information you can retrieve about tasks that the user has most recently started or visited. ActivityManager.RunningAppProcessInfo Information you can retrieve about a running process. ActivityManager.RunningServiceInfo Information you can retrieve about a particular Service that is currently running in the system. ActivityManager.RunningTaskInfo Information you can retrieve about a particular task that is currently "running" in the system. ActivityNotFoundException This exception is thrown when a call to startActivity(Intent) or one of its variants fails because an Activity can not be found to execute the given Intent. ActivityTestCase This is common code used to support Activity test cases. ActivityUnitTestCase T extends Activity This class provides isolated testing of a single activity. Adapter An Adapter object acts as a bridge between an AdapterView and the underlying data for that view. AdapterView T extends Adapter An AdapterView is a view whose children are determined by an Adapter. AdapterView.AdapterContextMenuInfo Extra menu information provided to the onCreateContextMenu(ContextMenu, View, ContextMenuInfo) callback when a context menu is brought up for this AdapterView. AdapterView.OnItemClickListener Interface definition for a callback to be invoked when an item in this AdapterView has been clicked. AdapterView.OnItemLongClickListener Interface definition for a callback to be invoked when an item in this view has been clicked and held. AdapterView.OnItemSelectedListener Interface definition for a callback to be invoked when an item in this view has been selected. Address A class representing an Address, i.e, a set of Strings describing a location. Adler32 The Adler-32 class is used to compute the Adler32 checksum from a set of data. AlarmManager This class provides access to the system alarm services. AlertDialog A subclass of Dialog that can display one, two or three buttons. AlertDialog.Builder AlgorithmParameterGenerator AlgorithmParameterGenerator is an engine class which is capable of generating parameters for the algorithm it was initialized with. AlgorithmParameterGeneratorSpi AlgorithmParameterGeneratorSpi is the Service Provider Interface (SPI) definition for AlgorithmParameterGenerator. AlgorithmParameters AlgorithmParameters is an engine class which provides algorithm parameters. AlgorithmParameterSpec The marker interface for algorithm parameter specifications. AlgorithmParametersSpi AlgorithmParametersSpi is the Service Provider Interface (SPI) definition for AlgorithmParameters. AliasActivity Stub activity that launches another activity (and then finishes itself) based on information in its component s manifest meta-data. AlignmentSpan AlignmentSpan.Standard AllClientPNames Collected parameter names for the HttpClient module. AllocationLimitError Is thrown when an allocation limit is exceeded. AllowAllHostnameVerifier The ALLOW_ALL HostnameVerifier essentially turns hostname verification off. AllPermission AllPermission represents the permission to perform any operation. AlphaAnimation An animation that controls the alpha level of an object. AlphabetIndexer A helper class for adapters that implement the SectionIndexer interface. AlreadyConnectedException An AlreadyConnectedException is thrown when an attempt is made to connect a SocketChannel that is already connected. AlteredCharSequence An AlteredCharSequence is a CharSequence that is largely mirrored from another CharSequence, except that a specified range of characters are mirrored from a different char array instead. AnalogClock This widget display an analogic clock with two hands for hours and minutes. AndroidCharacter AndroidCharacter exposes some character properties that are not easily accessed from java.lang.Character. AndroidException Base class for all checked exceptions thrown by the Android frameworks. AndroidRuntimeException Base class for all unchecked exceptions thrown by the Android frameworks. AndroidTestCase Extend this if you need to access Resources or other things that depend on Activity Context. AndroidTestRunner Animatable Interface that drawables suporting animations should implement. Animation Abstraction for an Animation that can be applied to Views, Surfaces, or other objects. Animation.AnimationListener An animation listener receives notifications from an animation. Animation.Description Utility class to parse a string description of a size. AnimationDrawable An object used to create frame-by-frame animations, defined by a series of Drawable objects, which can be used as a View object s background. AnimationSet Represents a group of Animations that should be played together. AnimationUtils Defines common utilities for working with animations. AnnotatedElement This interface provides reflective access to annotation information. Annotation Annotations are simple key-value pairs that are preserved across TextView save/restore cycles and can be used to keep application-specific data that needs to be maintained for regions of text. Annotation Defines the interface implemented by all annotations. Annotation Wrapper for a text attribute value which represents an annotation. AnnotationFormatError Indicates that an annotation in the binary representation of a class is syntactically incorrect and the annotation parser is unable to process it. AnnotationTypeMismatchException Indicates that an annotation type has changed since it was compiled or serialized. AnticipateInterpolator An interpolator where the change starts backward then flings forward. AnticipateOvershootInterpolator An interpolator where the change starts backward then flings forward and overshoots the target value and finally goes back to the final value. Appendable Declares methods to append characters or character sequences. Application Base class for those who need to maintain global application state. ApplicationInfo Information you can retrieve about a particular application. ApplicationInfo.DisplayNameComparator ApplicationTestCase T extends Application This test case provides a framework in which you can test Application classes in a controlled environment. AppWidgetHost AppWidgetHost provides the interaction with the AppWidget service for apps, like the home screen, that want to embed AppWidgets in their UI. AppWidgetHostView Provides the glue to show AppWidget views. AppWidgetManager Updates AppWidget state; gets information about installed AppWidget providers and other AppWidget related state. AppWidgetProvider A convenience class to aid in implementing an AppWidget provider. AppWidgetProviderInfo Describes the meta data for an installed AppWidget provider. ArcShape Creates an arc shape. ArithmeticException Thrown when the an invalid arithmetic operation is attempted. Array This class provides static methods to create and access arrays dynamically. Array A Java representation of the SQL ARRAY type. ArrayAdapter T A ListAdapter that manages a ListView backed by an array of arbitrary objects. ArrayBlockingQueue E A bounded blocking queue backed by an array. ArrayIndexOutOfBoundsException Thrown when the an array is indexed with a value less than zero, or greater than or equal to the size of the array. ArrayList E ArrayList is an implementation of List, backed by an array. Arrays Arrays contains static methods which operate on arrays. ArrayStoreException Thrown when a program attempts to store an element of an incompatible type in an array. ArrowKeyMovementMethod Assert A set of assert methods. AssertionError Thrown when an assertion has failed. AssertionFailedError Thrown when an assertion failed. AssertionFailedError Thrown when an assertion failed. AssetFileDescriptor File descriptor of an entry in the AssetManager. AssetFileDescriptor.AutoCloseInputStream An InputStream you can create on a ParcelFileDescriptor, which will take care of calling ParcelFileDescritor.close() for you when the stream is closed. AssetFileDescriptor.AutoCloseOutputStream An OutputStream you can create on a ParcelFileDescriptor, which will take care of calling ParcelFileDescritor.close() for you when the stream is closed. AssetManager Provides access to an application s raw asset files; see Resources for the way most applications will want to retrieve their resource data. AssetManager.AssetInputStream AsynchronousCloseException An AsynchronousCloseException is thrown when the underlying channel for an I/O operation is closed by another thread. AsyncPlayer Plays a series of audio URIs, but does all the hard work on another thread so that any slowness with preparing or loading doesn t block the calling thread. AsyncQueryHandler A helper class to help make handling asynchronous ContentResolver queries easier. AsyncQueryHandler.WorkerArgs AsyncQueryHandler.WorkerHandler AsyncTask Params, Progress, Result AsyncTask enables proper and easy use of the UI thread. AsyncTask.Status Indicates the current status of the task. AtomicBoolean A boolean value that may be updated atomically. AtomicInteger An int value that may be updated atomically. AtomicIntegerArray An int array in which elements may be updated atomically. AtomicIntegerFieldUpdater T A reflection-based utility that enables atomic updates to designated volatile int fields of designated classes. AtomicLong A long value that may be updated atomically. AtomicLongArray A long array in which elements may be updated atomically. AtomicLongFieldUpdater T A reflection-based utility that enables atomic updates to designated volatile long fields of designated classes. AtomicMarkableReference V An AtomicMarkableReference maintains an object reference along with a mark bit, that can be updated atomically. AtomicReference V An object reference that may be updated atomically. AtomicReferenceArray E An array of object references in which elements may be updated atomically. AtomicReferenceFieldUpdater T, V A reflection-based utility that enables atomic updates to designated volatile reference fields of designated classes. AtomicStampedReference V An AtomicStampedReference maintains an object reference along with an integer "stamp", that can be updated atomically. Attr The Attr interface represents an attribute in an Element object. AttributedCharacterIterator Extends the CharacterIterator interface, adding support for iterating over attributes and not only characters. AttributedCharacterIterator.Attribute Defines keys for text attributes. AttributedString Holds a string with attributes describing the characters of this string. AttributeList This interface is deprecated. This interface has been replaced by the SAX2 Attributes interface, which includes Namespace support. AttributeListImpl This class is deprecated. This class implements a deprecated interface, AttributeList; that interface has been replaced by Attributes, which is implemented in the AttributesImpl helper class. Attributes The Attributes class is used to store values for manifest entries. Attributes Interface for a list of XML attributes. Attributes.Name The name part of the name/value pairs constituting an attribute as defined by the specification of the JAR manifest. Attributes2 SAX2 extension to augment the per-attribute information provided though Attributes. Attributes2Impl SAX2 extension helper for additional Attributes information, implementing the Attributes2 interface. AttributeSet A collection of attributes, as found associated with a tag in an XML document. AttributesImpl Default implementation of the Attributes interface. AudioFormat The AudioFormat class is used to access a number of audio format and channel configuration constants. AudioManager AudioManager provides access to volume and ringer mode control. AudioRecord The AudioRecord class manages the audio resources for Java applications to record audio from the audio input hardware of the platform. AudioRecord.OnRecordPositionUpdateListener Interface definition for a callback to be invoked when an AudioRecord has reached a notification marker set by setNotificationMarkerPosition(int) or for periodic updates on the progress of the record head, as set by setPositionNotificationPeriod(int). AudioTrack The AudioTrack class manages and plays a single audio resource for Java applications. AudioTrack.OnPlaybackPositionUpdateListener Interface definition for a callback to be invoked when the playback head position of an AudioTrack has reached a notification marker or has increased by a certain period. AUTH Constants and static helpers related to the HTTP authentication. AuthenticationException Signals a failure in authentication process AuthenticationHandler Authenticator An implementation of this class is able to obtain authentication information for a connection in several ways. Authenticator.RequestorType Enumeration class for the origin of the authentication request. AuthParamBean AuthParams This class implements an adaptor around the HttpParams interface to simplify manipulation of the HTTP authentication specific parameters. AuthPermission Governs the use of methods in this package and also its subpackages. AuthPNames Parameter names for HttpAuth. AuthPolicy AuthProvider AuthProvider is an abstract superclass for Java Security Provider which provide login and logout. AuthScheme This interface represents an abstract challenge-response oriented authentication scheme. AuthSchemeBase Abstract authentication scheme class that serves as a basis for all authentication schemes supported by HttpClient. AuthSchemeFactory AuthSchemeRegistry Authentication scheme registry that can be used to obtain the corresponding authentication scheme implementation for a given type of authorization challenge. AuthScope The class represents an authentication scope consisting of a host name, a port number, a realm name and an authentication scheme name which Credentials apply to. AuthState This class provides detailed information about the state of the authentication process. AutoCompleteTextView An editable text view that shows completion suggestions automatically while the user is typing. AutoCompleteTextView.Validator This interface is used to make sure that the text entered in this TextView complies to a certain format. AutoText This class accesses a dictionary of corrections to frequent misspellings. AvoidXfermode AvoidXfermode xfermode will draw the src everywhere except on top of the opColor or, depending on the Mode, draw only on top of the opColor. AvoidXfermode.Mode B コメント ぬいた(ノ゚Д゚)ノシ★ http //s.64n.co/ -- (age) 2011-12-29 13 42 53 風俗店を探よりココ!!男性は報酬あり!(*´ェ`*)→ http //sns.b8y.in/ -- (千春) 2012-08-21 02 37 48 名前 コメント すべてのコメントを見る
https://w.atwiki.jp/smartphone/pages/38.html
INDEX X01HTまとめ@Wikiへようこそおしらせ(最終更新日 2006-12-06) 更新履歴 記事を書く方はこちらをご覧ください。 X01HTの仕様コメント TyTN/hTc Z参考記事 HTC TyTNファミリー DoCoMo hTc Z参考記事 X01HTCとの相違点主要スペック・リスト 参考記事 コメント 料金プラン新スーパーボーナスのしくみ参考記事 X01HTの購入シミュレーション基本的な料金算出方法 新スーパーボーナス+割賦購入契約でX01HTを購入した場合 新スーパーボーナス+一括支払でX01HTを購入した場合 参考記事 X01HTの解約シミュレーション デュアルパケット定額/パケットし放題料金体系概要 PCサイトダイレクト/PCサイトブラウザ利用月の課金 アクセスポイントによる課金区分 ユーザーからの料金報告 検証待ち情報 携帯料金プラン選択支援「ソフトバンクプラン診断アドバイザー そふあど!」ダウンロードサイト 参考資料 コメント 料金プラン/ユーザ料金報告ユーザ料金実例事例1 事例2 事例3 事例4 事例5 コメント SIMアンロックSIMアンロックのプロセスHTC Hermes unlock for GBP 20.00 参考記事 USIM未挿入メッセージ 無料アンロック・ツールのプロセスHerm_Unlock 参考記事 HTC Hermes SIM CID Unlock by pof 参考記事 HTC Hermes SIM Unlock v2 SoftbankX01HT-EXPERIMENTAL by pof 参考記事 HTC Hermes SIM CID Unlock by pofでコード要求されない場合のプロセス 参考記事 コメント SIMフリーSIMフリーのプロセスコネクションマネージャー SB_SIM 参考記事 デュアルSIM参考記事 X01HTデュアルSIMの注意点 コメント ROMROMを移植するのに必要なツールダウンロードサイト ROMイメージダウンロードサイト ROM移植プロセスPDAからRAWイメージを生成 サイズ確認プロセス ROM/RAWイメージからファイル生成プロセス 参考記事 コメント DoCoMo利用X01HTのhTcz化ダウンロードサイト hTcz化プロセス 参考記事 hTcz化に伴う問題 X01HTでのDoCoMo FOMAハイスピード(HSPDA)利用ダウンロードサイト HSDPA対応プロセス プッシュメールX01HTをMoperaU利用で利用する場合必要なこと 現状判明している問題点/留意点など Mopera参考記事 コメント インターネット設定X01HTのインターネット設定 3G経由のopen.softbank.ne.jpのポート制限 携帯サイトへのアクセス設定 SSH接続 リモートデスクトップ パケット通信と無線LAN接続との共存参考記事 コメント SMSSMS到着通知の停止 コメント MMS (旧スーパーメール)MMS設定プロセスダウンロードサイト ネットワーク設定 MMSメールクライアントの設定 レジストリの改変 MMS設定の注意点 treo750vのMMSメールクライアント参考記事 MMSの問題点 VFJP WEB接続と受信通知再送VFJP WEB接続プロセス 参考記事 コメント POP3/SMTPPocket Outlookなどのメーラーの利用参考記事 GmailPocket OutlookでのGmail利用 省電力対策 参考記事 コメント DirectPushDirectPushの機能参考記事 利用可能なサービス 設定方法参考記事 コメント Exchange Active Sync参考記事 Windows SharePoint Services 2007 Exchange 2007ベータフォーラム参考記事 その他 コメント ワイヤレスLAN参考記事 ワイヤレスLANとDNSの問題参考記事 AirLogダウンロードサイト WiFiスキャナーダウンロードサイト 参考記事 コメント SkypeSkype利用上の留意点参考記事 コメント BluetoothBluetoothモデム化のプロセスWindowsMobile機種からのBluetoothモデム接続 PalmとのBluetoothモデム接続 X01HTでBluetooth経由のファイル受信ができなくなった場合の対処法 Bluetooth経由でのActiveSync接続参考記事 A2DP(Advanced Audio Distribution Profile)A2DP対応プロセス 参考記事 コメント メモリーカード動作確認済microSDカード対応表動作対応表 メモリーカード価格情報 コメント GPSPDA工房 SoftBank X01HT / DoCoMo hTc Z GPSセット参考記事 コメント オプション/アクセサリーX01HT付属品・オプション参考記事 バッテリーMugen Powerリプレイスバッテリー(大容量バッテリー) Bluetoothヘッドセット/ヘッドホンモバイルキャスト mLink R スタイラストンボ デザインコレクション 3マルチペンZOOM414 キーボードFREEDOM ミニBluetoothキーボード ANYCOM Stowaway Bluetoothキーボード BFK-200 充電Syncケーブル バッテリーエクステンダーII SoftBank X01HTセット キャリングケース/ジャケットBOBLBE-E ANIARAハードシェル・モバイルケース Armor 2600 PDA用防水・防滴タフケース Silicone Jacket Advance Piel Frama レザーケース for X01HT Brando Workshop レザーケース for X01HT BATHING APE ウレタンモバイルケース PORTER モバイルケース(atomos toko別注) koie WOMBIE gadget pack ガジェットパック basicHolster コメント マルチメディア動画WindowsMediaPlayer YouTube Sling 参考記事 音楽参考記事 コメント ソフトウェアエミュレータ コメント Tipsハードキーボード設定レジストリ Bootの数値 フライトモード 電話をOFFモード システムファイルのPATH タスクマネージャー シャッター音消去 LEDの点滅を停止 ソフトレジストリを操作する フォントが潰れて見にくい Pocket Outlook2002のメールのフォントが小さいので大きくしたい Pocket Outlook2002の休日情報の更新 ActiveSyncでExchangeServerとの同期ができなくなった QRコード読み取り ネットMSN messenger for PocketPC Skype MSNmessenger 簡単に「mixiモバイル」にアクセスする裏技 マルチメディアSlingPlayer その他液晶保護シートがうまく貼るコツは?貼るときにゴミがつく。 コメント FAQハードモニター画面が暗い イヤホン端子がミニUSBだが、対応するイヤホンがない。ステレオジャックに変換したい。 電波表示で「3G」と「U」表示のX01HTがあるが違いは何? カメラレンズの上のポートは? キー入力時のデフォルトを全角・ひらがなから半角英数にしたい。 レジストリを直接操作せずに各種設定を変えたい ソフトX01HT付属のCD-ROM「お使いになる前に」の内容は? ウィルス対策ソフトはどこからダウンロードすればよいか フリーウェア「Happy Tapping Keyboard」の動作が不安定 IEのお気に入りから「My Softbank for X Series」を消してしまった。URLを知りたい。 フリーウェア「Pocketの手」で「予期しないエラー」が発生する。http //smart-pda.net/ X01HTでJAVAを使用したい ネットX01HTをPCのモデムとして使用できるか? 無線LANを使うとパケット通信ができない、接続が遅い IEのUser-Agentを偽装したい。 NetFrontでUser-Agentを偽装したい。 無線LAN使用中に知らないうちに3G(パケット通信)へ接続されないか心配だが対策はあるか? 絵文字を使いたい マルチメディア「TCPMP」の画面が乱れる。 swfファイルを再生したい コメント トラブルシュートActive sync コメント リンク公式サイト 記事/写真Impress記事 ITmedia記事 LiveDoor記事 engadget記事 技術資料 2ちゃんねる【WindowsMoble5.0】SoftBank X01H@携帯機種 【素人専門】X01HT【分かりやすく面白く】@携帯機種 W-ZERO3 vs hTc Z vs X01HT@携帯機種 HTC端末総合@モバイル DoCoMohtc Z@モバイル Microsoft Windows Mobile@モバイル SoftBank X01HT でエミュレータ@携帯電話ゲーム マカーのためのWindows Mobile@Mac ソフト/フリーウェア アクセサリなど ダウンロードダウンロードINDEX コメント 未整理情報 Webアーカイブ 雑談 価格情報X01HTX01HT購入者から 利用料金 メモリーカードメモリーカード価格情報 メモリーカード購入者から 周辺機器・ソフト価格情報周辺機器・ソフト価格情報 価格情報投稿 価格情報/microSDカード 512MB 価格情報 microSDカード 1GB 価格情報 microSDカード 2GB 価格情報 Bluetoothヘッドセット価格情報 Bluetoothヘッドフォン価格情報 GPSレシーバ価格情報 地図ソフト価格情報 X01HT@store X01HT@楽天 X01HT@USA_store News最新ニュース一覧 ニュース検索 Blog検索 はてなRSS連携 はてなアンテナ連携 注目記事
https://w.atwiki.jp/tokaiindex/pages/1000.html
トウカイ インデックス【TOKAI INDEX】 概要 wikiを利用した私設WEBサイトのひとつ。管理人および主な執筆者は、円周率3パーセント。 いわゆる東海三県下のあらゆる単語を蓄積し、その解説を行う。将来的にはWEB以外の書籍などのメディアとのリンクも図るため、目下その方策を練っている。 2007年7月末開設だが、基本的な内容はその前身「ローカルワード東海」(→「ローカルワード中部」「中部大辞典」「東海大辞典」「不明解東海大辞典」)から変わっておらず、2004年頃の知見のまま止まってしまっている記事も少なからず存在する可能性はある。
https://w.atwiki.jp/redcloud/pages/19.html
目次 目次 前提条件 PHP5.3.0 インストール libxml2-develをインストール curl-develをインストール mysqlクライアントをインストール gdをインストール ※画像処理 PHPインストール 設定 php.iniの編集 httpd.confの編集 動作確認 xdebugインストール(デバッグ用) 前提条件 CentOS5.4上に構築する PHP5.3.0 インストール libxml2-develをインストール # yum -y install libxml2-devel curl-develをインストール # yum -y install curl-devel mysqlクライアントをインストール ncurses-develのインストール # yum -y install ncurses-devel mysql-tritonnのインストール ※MySQLクライアント。MySQLサーバが全文検索対応(tritonn)であることを前提とする $ wget http //osdn.dl.sourceforge.jp/tritonn/36449/tritonn-1.0.12-mysql-5.0.67.tar.gz $ tar zxvf tritonn-1.0.12-mysql-5.0.67.tar.gz $ cd tritonn-1.0.12-mysql-5.0.67 $ ./configure --prefix=/usr/local --with-readline --without-server $ make $ sudo make install gdをインストール ※画像処理 libjpegなどのヘッダファイルが必要そうなので先にyumでインストール # yum install -y libjpeg-devel # yum install -y libpng-devel # yum install -y freetype-devel # yum install -y fontconfig-devel # yum install -y libXpm-devel # yum install -y gettext-devel インストール $ wget http //www.libgd.org/releases/gd-2.0.35.tar.gz $ tar zxvf gd-2.0.35.tar.gz $ cd gd-2.0.35 $ ./configure --prefix=/usr/local --enable-shared $ make $ sudo make install PHPインストール $ wget http //jp.php.net/get/php-5.3.0.tar.gz/from/this/mirror $ tar zxvf php-5.3.0.tar.gz $ cd php-5.3.0 $ ./configure --prefix=/usr/local --with-apxs2=/usr/local/apache2/bin/apxs --enable-mbstring=shared --with-mysql=shared,/usr/local --enable-pdo=shared --with-pdo-mysql=shared,/usr/local --without-sqlite --without-pdo-sqlite --with-xmlrpc --with-gd=shared,/usr/local --enable-gd-jis-conv --with-zlib-dir --with-png-dir --with-jpeg-dir --with-freetype-dir --with-curl $ make $ make test $ sudo make install 設定 php.iniの編集 $ sudo cp -p php.ini-development /usr/local/lib/php.ini # chown root.root /usr/local/lib/php.ini # vi /usr/local/lib/php.ini ;extension_dir = "./" extension_dir = "/usr/local/lib/php/extensions/no-debug-non-zts-20090626/" extension=gd.so extension=mbstring.so extension=mysql.so extension=pdo.so extension=pdo_mysql.so httpd.confの編集 # vi /usr/local/apache2/conf/httpd.conf 動作確認 $ vi ~/htdocs/phpinfo.php ?php phpinfo(); # service httpd start phpinfoが正常表示される事を確認 ★dateセクションでwarningが表示されてるのが気になる。。。 xdebugインストール(デバッグ用) $ wget http //xdebug.org/files/xdebug-2.0.5.tgz $ tar zxvf xdebug-2.0.5.tgz $ cd xdebug-2.0.5 $ phpize $ ./configure --with-php-config=/usr/local/bin/php-config --enable-xdebug $ make $ sudo cp -p modules/xdebug.so /usr/local/lib/php/extensions/no-debug-non-zts-20090626/ $ sudo vi /usr/local/lib/php.ini zend_extension=/usr/local/lib/php/extensions/no-debug-non-zts-20090626/xdebug.so $ ~/htdocs/debug.php ?php $hoge = あいうえお ; var_dump($hoge); phpinfoでxdebugセクションが表示され、var_dumpがデバッグレイアウトで表示される事を確認
https://w.atwiki.jp/naobe/pages/78.html
ネットワークに戻る RFC2616概要 HTTP/1.1 RFC6265概要 HTTP状態管理機構 パーセントエンコーディング(URLエンコード) URLで意味を持つコードと混同する日本語などのバイナリや特殊記号を16進形式にして、先頭に%を付加した文字に変換する。正確に言うと、非予約文字、予約文字以外を変換する。 項目 説明 非予約文字 ASCIIのコード範囲内の英字(大文字・小文字)、数字、ハイフン “-”、ピリオド “.”、アンダースコア “_”、チルダ “~” 予約文字 URIを表す符号。ASCIIのコード範囲内のコロン “ ”、スラッシュ “/”、疑問符 “?”、シャープ “#”、角括弧 “[”、“]”、単価記号 “@”、感嘆符 “!”、ドル記号・ペソ記号 “$”、アンパサンド “ ”、アポストロフィー・シングルクオート “ ”、丸括弧 “(”、“)”、アスタリスク “*”、正符号・加算記号 “+”、コンマ “,”、セミコロン “;”、等号 “=” name=%E8%8F%85%E7%9B%B4%E4%BA%BA UTF-8で、%E8%8F%85:菅, %E7%9B%B4 直, %E4%BA%BA 人 x-www-form-urlencoded(URLエンコード) POSTのフォームデータをエンコードする。%を付加する方式は、パーセントエンコーディングと同じ。パーセントエンコーディングの予約文字も変換している スペースは"+"に変換。Javaのソースを見ると、英数字、"-","_", ".","*"以外を変換する BASE64 Wikipediaより データを64種類の印字可能な英数字のみを用いて、それ以外の文字を扱うことの出来ない通信環境にてマルチバイト文字やバイナリデータを扱うためのエンコード方式 7ビットのデータしか扱うことの出来ない電子メールにて広く利用されている A–Z, a–z, 0–9 までの62文字と、記号2つ (+ , /) 、さらにパディング(余った部分を詰める)のための記号として = が用いられる 76文字ごとに改行コードが入る Cookie Wikipediaより クッキーを設定する際、どの要求に対してクッキー情報を送り返すのか、URLの範囲を指定する。 規定値は、クッキーを設定したサーバに対するすべての要求であり、対象を広げることも狭めることもできる。ただし広げる場合でも、トップレベルドメインより狭い範囲でなければならない。 またクッキーの有効期限は、通常はブラウザを終了するまでだが、指定した期限まではブラウザを再度起動しても保持されるように設定することができる。有効期限の情報も、サーバからブラウザにクッキー情報を送信する段階で付加される。 無期限という設定は出来ない。 詳細: http //www.studyinghttp.net/cookies リクエスト 全てテキスト。行(CRLF)で区切られる。 フォーマット リクエストラインは1行。ヘッダは複数行。 大項目 小項目 説明 リクエストライン メソッド GET,POST,PUTなどのどれか。 リクエストURL リクエストを処理するURI プロトコルバージョン HTTPのバージョン。【例】HTTP/1.1 ヘッダ HOST リクエスト先のホスト名。必須項目 空行 POSTのときにヘッダの終了を示すために挿入される メッセージボディ POSTのときにリクエストデータを出力する 【例】 GET http //example.jp/31/31-001.php HTTP/1.1 リクエストライン Host example.jp --+ User-Agent Mozilla/5.0 (Windows NT 5.1; rv 2.0.1) Gecko/20100101 Firefox/4.0.1 | Accept text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 +-- ヘッダ Accept-Language ja,en-us;q=0.7,en;q=0.3 | Accept-Encoding gzip, deflate | Accept-Charset Shift_JIS,utf-8;q=0.7,*;q=0.7 | Keep-Alive 115 | Connection keep-alive | Referer http //example.jp/31/ --+ Accept-CharsetでShift-JISの品質係数が1であるため、サーバは、Shift-JISでエンコードしたメッセージを返す。 POST http //example.jp/31/31-003.php HTTP/1.1 リクエストライン Accept image/gif, image/jpeg, image/pjpeg, image/pjpeg, application/vnd.ms-excel ヘッダ Referer http //example.jp/31/31-002.php Accept-Language ja User-Agent Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; Inf oPath.1; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729) Content-Type application/x-www-form-urlencoded Accept-Encoding gzip, deflate Host example.jp Content-Length 65 Connection Keep-Alive Pragma no-cache name=%E8%8F%85%E7%9B%B4%E4%BA%BA mail=kan@aaa.jp gender=%E7%94%B7 メッセージボディ Hostヘッダ HTTP1.1では必須。POST/GETでのURIにHOSTを指定していなかった場合、Virtualホストを特定できない。そのためHostヘッダにHOST名を指定する。URIにホスト名があって、Hostヘッダにもホスト名がある場合はURIを優先する。URIにホスト名を指定することを強制すれば良いような気がするが。 Referer ヘッダの一種。リンク元のURLを示す。あるWebページのリンクをクリックして別のページに移動したときの、リンク元のページのこと。 改変、削除される場合があるので正しくリンクを示しているとは限らない。 セキュリティ上、問題となるのは、URLが秘密情報を含んでいる場合。たとえば、URLがセッションIDを含んでいる場合。なりすましに使われる可能性がある。 【例】 GET http //example.jp/31/31-002.php HTTP/1.1 Accept image/gif, image/jpeg, image/pjpeg, image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, appl ication/msword, application/x-shockwave-flash, application/x-ms-application, application/x-ms-xbap, application/vnd.ms -xpsdocument, application/xaml+xml, */* Referer http //example.jp/31/ Accept-Language ja User-Agent Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; Inf oPath.1; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729) Accept-Encoding gzip, deflate Host example.jp Connection Keep-Alive http //example.jp/31/のHTMLのaタグからリクエストが発生したため、Refererヘッダがつく。 レスポンス 全てテキスト。行で区切られる。 フォーマット ステータスラインは1行。ヘッダ、ボディは複数行。 大項目 小項目 説明 ステータスライン プロトコルバージョン ステータスコード 1XX 処理継続、2XX 正常終了、3XX リダイレクト、4XX クライアントエラー、5XX サーバエラー テキストフレーズ レスポンスヘッダ Content-Length ボディのバイト数 Content-Type MIMEタイプ; charset=エンコーディング 空行 ヘッダの終わりを示す ボディ 【例】 HTTP/1.1 200 OK Date Wed, 04 May 2011 04 51 51 GMT Server Apache/2.2.14 (Ubuntu) X-Powered-By PHP/5.3.2-1ubuntu4.2 Vary Accept-Encoding Content-Length 20 Keep-Alive timeout=15, max=100 Connection Keep-Alive Content-Type text/html; charset=UTF-8 body 13 51 /body Content-type メディアタイプを示すエンティティヘッダ(メッセージボディに対する付随情報)。type "/" subtype *( ";" parameter )であらわされる。text/html; charset=utf-8など。charsetを追加すると出力の文字コードを示す。HTML文書にapplication/octet-streamを付けると、 多くの場合、Webブラウザはそれをダウンロードするか否か問い合わせるようになる。 Apacheの場合は、httpd.confの以下の設定でcharsetを指定する。 AddDefaultCharset UTF-8 Tomcatでは、JSPのpageディレクティブで設定する。 %@ page language="java" contentType="text/html; charset=Windows-31J" pageEncoding="Windows-31J" % http //www.atmarkit.co.jp/fjava/rensai3/mojibake01/mojibake01.html 参照
https://w.atwiki.jp/josoge/pages/51.html
http //jososho2.hp.infoseek.co.jp/projectj/index.html こちらで新作やってます http //www21.atwiki.jp/josoge/pages/27.html コメントがあればこちらへどうぞ
https://w.atwiki.jp/0x0b/pages/89.html
ハイパーテキスト転送プロトコル RFC 2616 WebブラウザとWebサーバの間でHTMLなどのコンテンツの送受信に用いられる通信プロトコル リクエスト-レスポンス型 トランスポート・プロトコルとして通常TCPを使用 基本的な考え方は非常に単純であり「何を」「どうして」ほしいのかを相手に要求する。「何を」に当たるのがURL、「どうして」がメソッドにあたる。 World Wide WebにおけるWebページなどのリソースは、Uniform Resource Identifierによって指定される。 ポート番号80をデフォルトとして使用する(送信時は8080)。 TLSで暗号化され、セキュリティを確保したHTTPは、HTTPSと呼ばれる(httpsは実際にはURIスキームの1つであり、実際のプロトコルにはHTTP over SSL/TLSが用いられる)。 HTTP は基本的にサーバが状態を保持しない (stateless) プロトコルだが、データベースなどを使用するWebアプリケーションにおいては状態保持が必要だったため、そのためにいわゆる Cookie とよばれる機構が Netscape Communications Corporation によって導入された。Cookie を使用することによって状態を管理し、"セッション" を維持することが可能になる。 HTTPの拡張プロトコルとしてWebDAVがある。 UPnPでは、HTTPをUDP上で使用するHTTPUや、マルチキャストで使用するHTTPMUが規定された。 HTTP/0.9 URLのみの簡単なやりとり HTTP/1.0 NNTPやSMTPのような各種ヘッダが定義 HTTP_Cookieなどの利用 HTTP/1.1 複数データを転送するためのキープアライブ(keep-alive)機能やプロキシなどの利用も想定された仕様 バーチャルホストをサポートした。インターネット人気に伴い多くの企業がWebサイトを持ち始めたが、当時ではまだまだ企業が自前のWebサーバを運用するのは人員、効率の問題で難しかったためISPのサーバでホスティングをしていた。当時はまだ一社ごとに専用サーバを用意するほどのことでもないため一台のサーバで複数のWebサイトを運用していた。 しかしバーチャルホストには問題がある。例えばある1台のサーバに foo.example.com と bar.example.com という二つの仮想Webサーバがあるとする。ここではクライアントは http //foo.example.com/index.html にアクセスしたいとする。そのためにはまず foo.example.com をIPアドレスに解決するためDNSサーバに問い合わせ、そのサーバにアクセスし GET index.html を要求する。しかしサーバ側のIPアドレスは foo.example.com と bar.example.com 共におなじIPアドレスである。もし foo.example.com にも bar.example.com にも index.html というファイルが存在すればクライアントはどちらのサーバにアクセスしたのかわかるすべがない。 これを解決するにはそれぞれにIPアドレスを付与することで解決できるが、IPv4の資源を無駄にすることになる。 HTTP/1.1ではこれを解決するためにHostヘッダを追加した。 HTTP/1.0のヘッダ GET /index.html HTTP/1.0 HTTP/1.1のヘッダ GET /index.html HTTP/1.1 Host foo.example.com 動作 通信の開始 他のプロトコル同様クライアント側とサーバ側ではHTTPの役割が大きく異なる。HTTP通信を開始できるのはクライアント側のみである。 クライアント側はサーバにリクエストを送り、サーバはクライアントにレスポンスを返すのが最も典型的なHTTPのやりとりである。 接続 システム間でメッセージをやりとりするにはTCP接続を確立させる必要がある。 HTTP/0.9ではクライアントのリクエストごとにTCP接続を確立させる必要があったが、これは当時のWebサイトがシンプルなテキストベースであることが多かったためである。近年ではJavaScriptやアニメーション画像など、多数のオブジェクトが埋め込まれたWebサイトが一般的となってきているが、これら全てのオブジェクトを取得するたびにTCP接続を確立するのはサーバやネットワークに大きな負担を強いるため、HTTP/1.1では持続的接続がサポートされることとなった。ただしこの機能が利用できるのはサーバ側がその要求を許可した場合のみである。 パイプライン クライアントは前のリクエストに対するサーバの応答を待たずに別のリクエストを発行できる。 メソッド HTTPでは8つのメソッドが定義されている。ただし実際のHTTP通信ではGETとPOSTメソッドだけで殆どを占める。 HTTPメソッドの一覧 メソッド HTTP/0.9 HTTP/1.0 HTTP/1.1 GET ○ ○ ○ POST ○ ○ PUT △ ○ HEAD ○ ○ DELETE △ ○ OPTION ○ TRACE ○ CONNECT ○ GET 指定されたURIのリソースを取り出す。HTTPの最も基本的な動作で、HTTP/0.9では唯一のメソッド。 POST GETとは反対にクライアントがサーバにデータを送信するメソッドである。Webフォームや電子掲示板、Wikiなどに投稿する。GETの場合と同じくサーバはクライアントにデータを返すことができる。 PUT 指定したURIにリソースを保存する。URIが指し示すリソースが存在しない場合は、サーバはそのURIにリソースを作成する。画像のアップロードなどが代表的。 DELETE 指定したURIのリソースを削除する。 OPTION サーバを調査するメソッド。例えばサーバがサポートしているHTTPのバージョンなどを調査できる。 HEAD GETと似ているがサーバはHTTPヘッダのみ返す。クライアントはWebページを取得せずともそのWebページが存在するかどうかを知ることが出来る。例えばWebページのリンク先が生きているか検証するときなどにリンク先のデータを全て取得することなく調査することが出来る。 TRACE サーバまでのネットワーク経路をチェックできる。サーバは受け取ったメッセージのそれ自体をレスポンスのデータにコピーして応答する。WindowsのTracertやUNIXのTracerouteとよく似た動作。 CONNECT 暗号化したメッセージをプロキシで転送する際に用いる。 サーバの連携 バーチャルホスト リダイレクト 301 MovedというステータスコードとURIを受け取りクライアントはこの受け取ったURIに再度GETを送る。 クッキー(HTTP_Cookie) HTTPメッセージ クライアントからのHTTPリクエストは3つの要素から構成される。それぞれメソッド、URI、HTTPのバージョンでありスペースで区切られている。 下にもっとも単純な、クライアントとサーバ(www.google.co.jp 80)とのHTTPプロトコルのやり取りの例を挙げる。 クライアントのリクエスト GET / HTTP/1.0 GETがメソッド、URIは / 、バージョンはHTTP/1.0であることを示す。 URIは/でルートリソースを対象にしたリクエストであることを示している。TRACEなど特定のサーバを対象としないリクエストの場合には*が表示される。 サーバのレスポンス HTTP/1.0 200 OK Cache-Control private Content-Type text/html Set-Cookie PREF=ID=72c1ca72230dea65 LD=ja TM=1113132863 LM=111 3132863 S=nNO7MIp W2o7Cqeu_; expires=Sun, 17-Jan-2038 19 14 07 GMT; path=/; domain=.google.co.jp Server GWS/2.1 Date Sun, 10 Apr 2005 11 34 23 GMT Connection Close html head meta http-equiv="content-type" content="text/html; charset=Shift_JI S" title Google /title style !-- ・・・以下省略 上のリクエストのGETにあたる部分をメソッドといい、 HTTP/1.0では、GET, HEAD, PUT, POST, DELETE, LINK, UNLINK、 HTTP/1.1ではさらに、OPTIONS, TRACEがある。 GETメソッドのレスポンスにはヘッダ情報のあとに改行が挟まれ、コンテンツ本体が送られる。 HEADメソッドのレスポンスにはコンテンツサイズや更新日時などの情報を含むヘッダのみが送られる。 また、リクエストの2行目以降はヘッダを送る。 HTTPヘッダフィールド ヘッダの各要素は フィールド名 内容 のペアで構成される。 ブラウザの情報を表すUser-Agent、使用候補言語を表すAccept-Language、他ページへのリンクを辿った場合にそのリンク元ページのURLを表すRefererなどが代表的なフィールドである。 なお、リクエスト時のHostヘッダはHTTP/1.1では必須であるが、HTTP/1.0では無くても良い。 但し、サーバがバーチャルホストを利用している場合は、Hostヘッダが無いとリソース取得に失敗するので、たとえHTTP/1.0を使用していてもHostヘッダを付加しなければならない。 HTTPヘッダフィールドの一覧 リクエストヘッダ ヘッダ概要HTTP/0.9HTTP/1.0HTTP/1.1 Acceptクライアントの受け入れ可能コンテンツタイプを示す○○ Accept-Charsetクライアントの受け入れ可能文字セットを示す○○ Accept-Encodingクライアントの受け入れ可能文字エンコーディングを示す○○ Accept-Languageクライアントの受け入れ可能言語を示す○○ Authorizationクライアントの認証情報を示す○○ Cookieクライアントの状態管理情報をサーバに返す Cookie2HTTP/1.1のSet-Cookie2ヘッダの受け入れ可能をサーバに知らせる Expectクライアントがサーバに期待する動作を示す○ Fromリクエスト発行者個人の情報を示す。一般的に電子メールアドレスを使用する○○ Host要求しているオブジェクトがあるホストを示す○ If-Matchif文を用い条件が真の場合のみリクエストを処理するようサーバに要求する○ If-Modified-Since指定日及び指定時刻以降にオブジェクトが変更されている場合のみリクエストを処理するよう要求する○○ If-None-MatchIf-Matchの逆で条件が真でない場合のみリクエストを処理する要求○ If-Range条件が真の場合のみ指定したオブジェクトの範囲を返すようサーバに要求する○ If-Unmodified-SinceIf-Modified-Sinceの逆で真でないときのみ実行する○ Max-Forwardsリクエストの中間システム経由数を最大いくつまでかを指定する○ Proxy-Authorizationクライアントがプロキシサーバに対して自身の認証を行う○ Rangeオブジェクト全体でなくリソースの一部を要求する○ Refererリクエストの出所を示す。一般的にはユーザの辿ったWebページのURLが用いられる。○○ TEレスポンスの受け入れ可能転送エンコーディングを示す○ レスポンスヘッダ ヘッダ概要HTTP/0.9HTTP/1.0HTTP/1.1 Accept-Rangesオブジェクトの一部に対するリクエストをサーバが受け入れ可能か示す○ Ageオブジェクトの経過時間を秒単位で返す○ AllowオブジェクトがサポートするHTTPメソッドを示す○○ ETagオブジェクトのエンティティタグ値を示す○ Locationオブジェクトの場所を示す○○ Proxy-Authenticateプロキシサーバがクライアントに認証を要求するときに用いる○ Retry-Afterリクエストの再試行をいつ行うかをクライアントに通知する○○ Serverサーバのベンダー名、バージョン番号を占めす○○ Set-Cookie2サーバがクライアントにCookieを送信するときに用いる Varyサーバのレスポンス内容を決定する際にリクエストURI以外に使用したHTTPヘッダのリストを示す○ WWW-Authenticateクライアントに対してリクエストの再発行を要求する。認証情報も含まれる○○ 一般ヘッダ ヘッダ概要HTTP/0.9HTTP/1.0HTTP/1.1 Cache-Controlメッセージの経由する中間キャッシュの動作を指示する○ Connection中間システムが転送すべきでないヘッダのリストを示す○○ Dateメッセージの作成日時を示す○○ Pragmaメッセージに関する追加情報を示す○○ Trailerメッセージボディの後に追加のヘッダーが表れることを示す○ Transfer-Encodingクライアントの転送を目的としたオブジェクトのエンコーディングを示す○ Upgrade通信相手に別のプロトコルにアップデートするよう要求する○ User-AgentクライアントのWebブラウザなどの情報を示す○○ Warningメッセージに関する追加情報を示す。通常はキャッシュの問題を警告するときに使われる○ エンティティヘッダ ヘッダ概要HTTP/0.9HTTP/1.0HTTP/1.1 Content-Encodingオブジェクトのエンコーディングを示す○○ Content-Languageオブジェクトの言語(人間の言語)を示す○○ Content-Lengthオブジェクトのサイズをバイト単位で示す○○ Content-Locationオブジェクトの場所を示す○ Content-MD5オブジェクトのメッセージダイジェストを運ぶ○ Content-Rangeメッセージボディで運ばれるオブジェクトの範囲を示す○ Content-Typeオブジェクトのタイプを示す○○ Expiresオブジェクトの有効期限の日時を示す○○ Last-Modifiedオブジェクトが最後に変更された日時を示す○○ Accept サーバのレスポンスに含まれるメッセージボディで受け入れることが出来るコンテンツタイプと各コンテンツタイプの相対的な優先度を指定するリクエストヘッダ。指定できるコンテンツタイプはIANAによって定義されている。 Accept text/plain; q=0.5, text/html, text/x-dvi; q=0.8, text/x-c 上記のようにAcceptヘッダには行をわけて複数のコンテンツタイプを指定できる。上記の例はいずれの4のコンテンツタイプのいずれも受け入れ可能であることを示す。0.5や0.8といった数字は品質係数で0~1の範囲の数値である。数値の指定がなければ1.0となる。 text/plain; q=0.5 text/html text/x-dvi; q=0.8 text/x-c Accept-Charset レスポンスで返されるメッセージボディの文字コードを指定するリクエストヘッダ。Acceptと同じく複数指定でき品質係数も設定できる。定義済み文字セットはIANAが管理している。 Accept-Charset unicode, *; q=0.8 この例だとクライアントはUnicode文字セットを優先的に希望しているが他の文字セットとの相対優先度0.8で受け入れている。ただしサーバからのレスポンスのHTTPヘッダそのものの文字コードは常にISO-8859-1である。 Accept-Encoding Accept-Language レスポンスの言語(人間の言語)に対する優先度を指定する。言語コードはISO-639の2文字の省略コードを用いる。書き方は他のAccept-群と変わらず。 Accept-Language en-gb, en; q=0.8 上記の例はまずイギリス英語を要求し、利用できない場合はその他の英語を要求する。 Accept-Ranges Acceptで始まる他のヘッダフィールドと違いレスポンスヘッダーである。現在の仕様では2つの指定方法しかない。 Age リソースの推定経過時間を表示するレスポンスヘッダ。キャッシュサーバーはAgeヘッダの値からキャッシュしたリソースが有効かどうかを判定する。 Allow Authentication-info ユーザ認証のやりとりの最後で用いられる、成功したレスポンスのサーバが含めることの出来るレスポンスヘッダー。 Authorization サーバに対するクライアント自身の認証を行うことが出来る。 Cache-Control キャッシングの動作を指定するためのマスターヘッダ。 Connection Content-Encoding Content-Language リソースを英語などの自然言語で示すのに使われる。言語の指定はAccept-Languageヘッダと同じ。 Content-Length Content-Location Content-MD5 メッセージボディが変更されず宛先に届くことを保証する。MD5アルゴリズムを実行する。ただし悪意の改ざんに対しては当然MD5も改ざんされるのであまり機能はしない。どちらかといえば偶発的な変更の保証をしている。 Content-Range ダウンロードの再開に用いられる。 Content-Type メッセージボディに含まれるオブジェクトタイプを示す。次の例はリソースがテキストファイル、文字セットはISO-8859-4を使用していることを示している。 Content-Type text/plain; Charset=ISO-8859-4 Cookie クライアントがHTTP状態管理を望む場合にサーバから受け取ったクッキーを以後のリクエストに次の例のようなヘッダーを付加する。 Cookie $Version="1"; NAME="VALUE"; $Path="/shopping"; $domain="www.shop.com"+ $Port="80" $VersionはHTTPのバージョン、NAMEはクッキーの名前である。$から始まるクッキー名は使用が禁止されている。 Cookie2 基本的にCookieヘッダーとCookie2ヘッダーは別物である。 Date サーバがメッセージを生成した日時を示す。リソースの時間を示すLast-Modifiedヘッダーとは区別する必要がある。 HTTP/1.1では次のような形式を用いるようRFC1123で定義されている。 Date Sun, 06, Nov 1994 08 49 37 GMT HTTP仕様ではレスポンスにDateヘッダーを含めることを求めている。ただしレスポンスのステータスがサーバエラーの場合にはDateヘッダーは返らない。 ETag 主にキャッシングのパフォーマンスを向上する目的で使われる。 Expect サーバに対して特定の動作の期待を知らせる。用途としてはクライアントがサーバに対して100 Continueステータスを返すことを期待する場合に使われる。 Expect 100-continue サーバが期待に応じれない場合は417 Expectation Failedを返す。クライアントがいくつかのプロキシ経由で通信している場合、各プロキシサーバはExpectヘッダの一切の修正を許されない。 Expires オブジェクトの有効期限を示す。このヘッダで指定された日時までキャッシュはレスポンスのコピーを保持し、リクエストに対するレスポンスとして返すことが出来る。サーバがオブジェクトのキャッシュを望まない場合にはExpiresヘッダに過去の日時を設定することが多い。また、HTTP仕様では1年以上先の日時は設定できない。 Expires Thu, 28 Aug 2010 16 00 00 GMT Cache-Controlヘッダのmax-ageディレクティブはExpiresヘッダより優先されるため注意が必要である。 From リクエストを発行したユーザを特定することが出来る。1990年代では電子メールアドレスを設定することが多かったが、迷惑メールの問題もあり現在では殆ど使われていない。 From hoge@hogehoge.com Host 主にレンタルサーバのサポートを目的としてHTTP/1.1で導入された。現在ではHostヘッダを利用できない場合レンタルサーバのウェブサイトとまともな通信が出来ないと言ってよい(詳細はHTTP#歴史を参照)。 If-Match クライアントのリクエストを条件付きのリクエストにするために使われる。サーバは一定の条件が真であった場合のみリクエストを受け入れることが出来る。例えばウィキペディアを編集する際、記事のソースを取得し、書き換える際の間に別のユーザが既に編集していないかを判断するときなどに用いられる。 「if文」も参照 利用者:HogeがHTTPの記事を取得。ETagは1234 利用者:HageがHTTPの記事を取得。ETagは1234 利用者:HogeがHTTPのETagを再度取得。先ほど取得したETag 1234と現在のETag 1234が一致。 利用者:HogeがHTTPの記事を編集。ETagは1256になる。 利用者:HageがHTTPのETagを再度取得。先ほど取得したETagと現在のETagはマッチせず。 サーバは利用者:Hageの書き込みを拒否。 If-Modified-Since このヘッダーで指定された日時以降にオブジェクトが変更されている場合のみリクエストに応答するようサーバに要求する。リソースの削減に効果がある。 If-None-Match If-Matchと逆で条件が真でない場合のみリクエストを処理するよう要求する。 If-Range クライアントがキャッシュにオブジェクトの一部分を持っている場合にパフォーマンスを向上できる。 If-Unmodified-Since If-Modified-Sinceの逆の働きをする Last-Modified サーバオブジェクトの最終更新日時を示す。クライアントはこのヘッダを利用しIf-Modified-Sinceヘッダ等と組み合わせることによって効果を発揮する。 Location サーバがクライアントにリダイレクト先URLを知らせる際に用いられる。一般的にステータスコードが3xx代のレスポンスと共に使われるが201 Createdのレスポンスでも使うことが出来る。Content-Locationヘッダと名前が似ているが全く関係のない別のヘッダであるため注意。 Max-Forwards プロキシサーバ等を経由する際の最大ホップ数を指定する。二重ループなどでサーバから応答が得られない場合の問題解決の際、OPTIONメソッドやTRACEメソッドと共に用いられる。 HTTPステータスコード ステータスコードはクライアントのリクエストが成功したかどうかを示した上で追加情報を提供するいずれも3桁の数字から成る。具体的には100-199が情報提供、200-299が成功を示す。300-399はリダイレクト、400-499はエラーを示す。 セキュリティ技術 Basic認証 HTTP/1.1でBasic認証が定義されており最も単純なセキュリティ技術である。しかし仕様書を読むと定義を書いた著者自身が認証技術に疎いことがよくわかる。『HTTPプロトコル セキュア&スケーラブルなWeb開発』の著者は「基本認証を用いるくらいならなにも使わない方がまし」と著書に書いている。通常サーバは401ステータスコードで応答する。 行末文字はWindowsと同じCRLF。 RFC 2818 - HTTP Over TLS RFC 2817 - Upgrading to TLS Within HTTP/1.1 RFC 2616 - HTTP/1.1 ハイパーテキスト転送プロトコル -- HTTP/1.1 RFC 2068 - HTTP/1.1(初版,RFC 2616 によって obsolete) TS X 0085 2004 - ハイパテキスト転送プロトコル HTTP/1.1 標準仕様書(TS) RFC 1945 - HTTP/1.0 HttpTea Freeware HTTP Logger Studying HTTP
https://w.atwiki.jp/fragileangel/pages/2.html
Menu top index log about FA member history BBS blog IRC Member only about main page BBS report VoiceChat IRC Link MHF official PaperMan official WarRock official A.V.A official SF official mixi Clan Fragile Angel WR Clan Fragile Angel SF Clan Fragile Angel Blog Link †Eagle kileo Fragile Angel -official clan blog- Counter - Admin